package VN.EDU.IMIC.DEVELOPER.TRANTHITHANHNGA.OOP.tinhsongay;

import java.util.Scanner;

public class Viewday {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("+input month:");
		int a = in.nextInt();
		System.out.println("+input year");
		int b = in.nextInt();

		Dateentity vDate  = new Dateentity();
		vDate.setA(a);
		vDate.setB(b);
		
		DateController cDate = new DateController(vDate);
		
		System.out.println("There are "+cDate.checkDayOfMonth() +" days in month " +vDate.getA()+ "/ "+vDate.getB());
		
	}

}
